set nav link active on the basis of route laravel 8

154

set nav link active on the basis of route laravel 8 -

<li class="{{ (request()->is('admin/cities*')) ? 'active' : '' }}">  

Comments

Submit
0 Comments